import request from '@/utils/request'

export default ({

  /**
   * 查出所有的航班信息
   * @returns {*}
   */
  getPlaneList(current,limit) {
    return request({
      url: `/pc/plane/pagePlane/${current}/${limit}`,
      method: 'post',
    })
  },

  getMyPlaneList(current,limit,queryPlaneVo) {
    return request({
      url: `/pc/plane/getPlaneTypeCondition/${current}/${limit}`,
      method: 'post',
      data:queryPlaneVo
    })
  },

  login(phone, password) {
    return request({
      url: '/user/pcuserinfo/login',
      method: 'post',
      data: {
        phone,
        password
      }
    })
  },


})
